package main

import (
	"api/appconfig"
	"api/initialize"
	"api/routers"
	"fmt"
	"github.com/gin-gonic/gin"
)

// 1.连接服务端
// 2.实例gRPC客户端
// 3.调用
func main() {
	appconfig.InitAppConfig()
	initialize.InitNaCos()
	initialize.InitEs()
	initialize.InitRpc()
	initialize.InitZap()
	r := gin.Default()

	routers.Router(r)

	fmt.Println("运行：：：")
	r.Run(":8899")

}
